package com.appkubes.mall.core.service;

import com.appkubes.base.core.mbp.AbstractBaseService;
import com.appkubes.mall.core.dao.BaseMallUserCouponDao;
import com.appkubes.mall.core.entity.MallUserCoupon;

import com.appkubes.base.core.entity.vo.PageVO;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * @author Rongjie
 * @description
 */

public interface BaseMallUserCouponService extends AbstractBaseService<BaseMallUserCouponDao, MallUserCoupon> {

    MallUserCoupon getOneByEntity(MallUserCoupon entity);

    List<MallUserCoupon> selectListByEntity(MallUserCoupon entity);

    IPage<MallUserCoupon> selectPageByEntity(IPage<MallUserCoupon> page);
    IPage<MallUserCoupon> selectPageByEntity(PageVO pageVO);

    IPage<MallUserCoupon> selectPageByEntity(MallUserCoupon entity, IPage<MallUserCoupon> page);
    IPage<MallUserCoupon> selectPageByEntity(MallUserCoupon entity, PageVO pageVO);

    IPage<MallUserCoupon> selectPageByEntity(MallUserCoupon entity, Integer pageNo, Integer pageSize);

    Boolean removeByEntity(MallUserCoupon entity);
}
